package com.lwc.cfdns.constants;

/**
 * 常量配置
 *
 * @author luwc
 * @title Constants
 * @description
 * @time 2023/5/29 16:09:53
 * @version: 1.0
 */
public class Constants {
    public static final String dictPrefix = "dict:data:";
    public static final String configPrefix = "config:data:";
    public static final String adminLoginPwdError = "login:pwderror:";
    public static final String AUTH_API_KEY = "api:login:";
    public static final String AUTH_ADMIN_KEY = "admin:login:";

    public static final String RATE_LIMIT_KEY = "ratelimit:";
    // 白名单
    public static final String RATE_LIMIT_WHITELIST_KEY = "ratelimit:whitelist";
    // 已锁定IP
    public static final String RATE_LIMIT_LOCK_KEY = "ratelimit:lock:";
}
